﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Tb_Sensor")]
    public partial class Tb_Sensor
    {
        public Tb_Sensor()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:newid()
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string GUID { get; set; }

        /// <summary>
        /// Desc:Tb_Clothes的主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ClothesGUID { get; set; }
        /// <summary>
        /// Desc:衣物标签id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string TagID { get; set; }

        /// <summary>
        /// Desc:感应ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string SensorID { get; set; }

        /// <summary>
        /// Desc:使用状态
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public int? State { get; set; }

        /// <summary>
        /// Desc:日期(创建or修改)
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? Datetime { get; set; }

    }
}
